body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000;
    color: #0f0;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
    padding: 10px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Left section: Terminal */
.left-section {
    width: 80%;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.right-section {
width: 20%;
display: flex;
flex-direction: column;
justify-content: space-between; /* Ensures even spacing */
gap: 15px; /* Spacing between queues */
padding-left: 10px;
border-left: 1px solid #0f0;
height: 100%;
}

/* Terminal window */
.terminal {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #0f0;
    box-shadow: 0 0 10px #0f0;
    position: relative;
}



        
.terminal {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #0f0;
    box-shadow: 0 0 10px #0f0;
    position: relative;
}

.terminal::-webkit-scrollbar {
    width: 8px;
}

.terminal::-webkit-scrollbar-track {
    background: #000;
}

.terminal::-webkit-scrollbar-thumb {
    background: #0f0;
    border-radius: 4px;
}

.input-line {
    display: flex;
    margin-bottom: 5px;
}

.prompt {
    color: #0f0;
    margin-right: 10px;
    font-weight: bold;
}

.command {
    color: #fff;
}

.output {
    color: #0f0;
    margin-bottom: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.command-input {
    display: flex;
    background-color: transparent;
    border: none;
    padding: 5px;
}

#current-prompt {
    color: #0f0;
    margin-right: 10px;
    font-weight: bold;
}

#command-field {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    outline: none;
    caret-color: #0f0;
}

.header {
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #0f0;
    color: #0f0;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 5px #0f0;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    margin-top: 10px;
    border-top: 1px solid #0f0;
    font-size: 12px;
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    z-index: -1;
    overflow: hidden;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #0f0;
    animation: blink 1s infinite;
    vertical-align: middle;
}

.typing {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40, end);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Queue styling */
.queue {
background-color: rgba(0, 0, 0, 0.8);
padding: 5px; /* Increased padding for better spacing */
border: 1px solid #0f0;
/* box-shadow: 0 0 10px #0f0;*/
color: #0f0;
min-height: 150px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-between;
}

/* Queue input field */
.queue input {
background: transparent;
border: 1px solid #0f0;
color: #0f0;
padding: 8px;
font-size: 14px;
text-align: center;
}

/* Queue button */
.queue button {
width: 100%;
background-color: #0f0;
color: #000;
padding: 8px;
cursor: pointer;
border: none;
font-weight: bold;
margin-top: 5px; /* Space between input and button */
}

button {
background-color: #0f0;
}

/* Queue textarea */
.queue-textarea {
/*width: 100%;*/
height: 100px; /* Adjusted for better proportion */
background: rgba(0, 0, 0, 0.8);
border: 1px solid #0f0;
/*box-shadow: 0 0 5px #0f0;*/
color: #0f0;
padding: 5px;
font-family: 'Courier New', monospace;
font-size: 14px;
resize: none;
overflow-y: auto;
outline: none;
white-space: pre-wrap;
word-break: break-word;
margin-top: 10px; /* Space between button and textarea */
}

/* Queue container */
.queue-container {
display: flex;
flex-direction: column;
gap: 20px; /* Increased spacing between different queues */
max-height: calc(100vh - 60px);
overflow-y: auto;
}


/* Dropdown Style */
.queue-select {
    width: 100%;
    background-color: #fff; /* Change background to white for contrast */
    color: #000; /* Keep text black for visibility */
    padding: 8px;
    border: 2px solid #0f0; /* Green border to match the theme */
    font-weight: bold;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none; /* Keep this to remove some styling but show arrow */
    -moz-appearance: none;
    appearance: none;
}

/* Run Button Styling, reusing .queue button styles */
.queue button.run-button {
    margin-top: 0; /* Aligns with dropdown, remove extra space */
}

/* Style for the select wrapper to include browser's default dropdown icon */
.queue-select-wrapper {
    position: relative;
    width: 100%;
    background-color: #fff; /* White background */
    display: flex; /* Ensures the dropdown fills the cell */
    align-items: center; /* Center the dropdown vertically */
}

/* Styling to bring back the default arrow in modern browsers */
.queue-select::-ms-expand {
    display: block; /* For IE11 */
    color: #000; /* Arrow color */
}

.queue-select::after {
    content: ''; /* Clear the custom icon content */
}
